<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <%= javascript_include_tag :defaults %>
        <%= stylesheet_link_tag "yui/reset-fonts-grids/reset-fonts-grids.css" %>
		<%= stylesheet_link_tag "yui/layout/assets/layout-core.css" %>
        <%= javascript_include_tag "yui/yahoo-dom-event/yahoo-dom-event.js" %>
        <%= javascript_include_tag "yui/element/element-beta-min.js" %>
        <%= javascript_include_tag "yui/selector/selector-beta-min.js" %>
        <%= javascript_include_tag "yui/layout/layout-min.js" %>
		<%= javascript_include_tag "validation.js" %>
		<%= javascript_include_tag "prototype.js" %>
		<%= javascript_include_tag "effects.js" %>
		<%= stylesheet_link_tag "main.css"%>

<!--<%= stylesheet_link_tag "layout_default.css"%>-->
		<style>
			#content_left{ float:left; width:220px; padding:0 14px 0 10px; margin-left:17px}
			#foot { height:85px; width: 950px; padding:5px; position:absolute; left:24px; }
			#xtop .rightTop{ float:right; display:inline;position:absolute;right:24px;}
		</style>
    </head>
    <body >
        <div id="outerdiv" >
            <div id="xtop">
                <div class="logo">
                </div>
                <div class="midTop">
                    <h1>城市切换<a href="#" title="苏州">[苏州]</a></h1>
                </div>
                <div class="rightTop">
                    <h1>
                        <p>
                            <%=link_to "退出",{:controller=>'personal_management',:action=>'login'} %>|<!--<%=link_to "快捷管理", {:controller=>'personal_management',:action=>'edit',:id=>@user}, :target=>"wholeframe"%></p>--><!--<p>--><%= link_to '<span>返回首页</span>', {:controller => "home", :action=>"main"} %>
                        </p>
                    </h1>
                </div>
            </div>
            <div id="content_left">
                <div class="sdmenu">
                    <div id="top">
                        功能列表
                    </div>
                    <div id="mid">
                        <ul>
                            <li><span>用户管理</span></li>
                            <li><%=link_to '基本信息管理',{:controller=>'management_yui',:action=>'main'} %></li>
                            <li><%=link_to '管理员详细信息',{:controller=>'management_yui',:action=>'detail',:id => @user.id} %></li>
                            <li><span>权限管理</span></li>
                            <li><span>系统配置</span></li>
                        </ul>
                    </div>
                    <div id="bottom">
                    </div>
                </div>
            </div>
            <div id="foot">
                <div class="box">
                    <h3><a href="#">关于我们</a> | <a href="#">人才招聘</a> | <a href="#">站务论坛</a> | <a href="#">链接及合作</a> | <a href="#">联系我们</a> | <a href="#">网站地图</a></h3>
                </div>
                <div class="bg">
                    苏州新宇软件版权所有
                </div>
            </div>
			<div >
<%= yield%>
			</div>
			<div id="content_right"></div>

        </div>
        <script>
            (function(){
                var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event;
                
                Event.onDOMReady(function(){
                    var layout = new YAHOO.widget.Layout('outerdiv', {						
						width:Dom.get('outerdiv').offsetWidth,
						minHeight:730,
                        units: [{
                            position: 'top',
                            height: 60,
                            body: 'xtop',						
                        }, {
                            position: 'left',
                            width: 260,							
                            body: 'content_left',
                        
                        }, {
                            position: 'right',
                            width: 60,							
                            body: 'content_right',
                        
                        }, 
						{
                            position: 'bottom',
                            body: 'foot',
							height:100
                        }, {
                            position: 'center',
                            body: 'content',
							width:100,
							scroll:true
                   
                        }]
                    });
                    
                    layout.render();
                });
            })();
        </script>
    </body>
</html>
